/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package UTILITARIOS;

import javax.swing.table.DefaultTableModel;

/**
 *
 * @author VICENTE
 */
public class MiModelo extends DefaultTableModel{
    private int columna;

    public MiModelo(Object[][] object, String[] string, int columna) {
        super(object, string);
        this.columna = columna;

    }

   @Override
   public boolean isCellEditable (int row, int column)
   {
       if(column == this.columna || column == this.columna)
          return true;
       return false;
   }

    @Override
   public Class getColumnClass(int c)
   {
       if(c==this.columna) return Boolean.class;
       return Object.class;
   }
}
